From 80bcc3f40caceefc7b075738951757abd6cdea4e Mon Sep 17 00:00:00 2001 From: Debian Xen Team Date: Fri, 24 Aug 2018 18:45:16 +0100 Subject: [PATCH] tools-xentoolcore-abiname Gbp-Pq: Topic prefix-abiname Gbp-Pq: Name tools-xentoolcore-abiname.patch --- tools/libs/toolcore/Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/libs/toolcore/Makefile b/tools/libs/toolcore/Makefile index 8b1d48b7c2..d64a770931 100644 --- a/tools/libs/toolcore/Makefile +++ b/tools/libs/toolcore/Makefile @@ -59,22 +59,22 @@ include/_xentoolcore_list.h: $(XEN_INCLUDE)/xen-external/bsd-sys-queue-h-seddery libxentoolcore.a: $(LIB_OBJS) $(AR) rc $@ $^ -libxentoolcore.so: libxentoolcore.so.$(MAJOR) +libxentoolcore.so: libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR) $(SYMLINK_SHLIB) $< $@ -libxentoolcore.so.$(MAJOR): libxentoolcore.so.$(MAJOR).$(MINOR) +libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR): libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR).$(MINOR) $(SYMLINK_SHLIB) $< $@ -libxentoolcore.so.$(MAJOR).$(MINOR): $(PIC_OBJS) libxentoolcore.map - $(CC) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxentoolcore.so.$(MAJOR) $(SHLIB_LDFLAGS) -o $@ $(PIC_OBJS) $(APPEND_LDFLAGS) +libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR).$(MINOR): $(PIC_OBJS) libxentoolcore.map + $(CC) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR) $(SHLIB_LDFLAGS) -o $@ $(PIC_OBJS) $(APPEND_LDFLAGS) .PHONY: install install: build $(INSTALL_DIR) $(DESTDIR)$(libdir) $(INSTALL_DIR) $(DESTDIR)$(includedir) - $(INSTALL_SHLIB) libxentoolcore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(libdir) + $(INSTALL_SHLIB) libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR).$(MINOR) $(DESTDIR)$(libdir) $(INSTALL_DATA) libxentoolcore.a $(DESTDIR)$(libdir) - $(SYMLINK_SHLIB) libxentoolcore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(libdir)/libxentoolcore.so.$(MAJOR) - $(SYMLINK_SHLIB) libxentoolcore.so.$(MAJOR) $(DESTDIR)$(libdir)/libxentoolcore.so + $(SYMLINK_SHLIB) libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR).$(MINOR) $(DESTDIR)$(libdir)/libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR) + $(SYMLINK_SHLIB) libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR) $(DESTDIR)$(libdir)/libxentoolcore.so $(INSTALL_DATA) include/xentoolcore.h $(DESTDIR)$(includedir) $(INSTALL_DATA) xentoolcore.pc $(DESTDIR)$(PKG_INSTALLDIR) @@ -83,8 +83,8 @@ uninstall: rm -f $(DESTDIR)$(PKG_INSTALLDIR)/xentoolcore.pc rm -f $(DESTDIR)$(includedir)/xentoolcore.h rm -f $(DESTDIR)$(libdir)/libxentoolcore.so - rm -f $(DESTDIR)$(libdir)/libxentoolcore.so.$(MAJOR) - rm -f $(DESTDIR)$(libdir)/libxentoolcore.so.$(MAJOR).$(MINOR) + rm -f $(DESTDIR)$(libdir)/libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR) + rm -f $(DESTDIR)$(libdir)/libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR).$(MINOR) rm -f $(DESTDIR)$(libdir)/libxentoolcore.a .PHONY: TAGS @@ -94,7 +94,7 @@ TAGS: .PHONY: clean clean: rm -rf *.rpm $(LIB) *~ $(DEPS_RM) $(LIB_OBJS) $(PIC_OBJS) - rm -f libxentoolcore.so.$(MAJOR).$(MINOR) libxentoolcore.so.$(MAJOR) + rm -f libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR).$(MINOR) libxentoolcore-$(PACKAGE_VERSION).so.$(MAJOR) rm -f headers.chk rm -f xentoolcore.pc -- 2.30.2